package com.fin.quant.instra.mysql.model;

import java.util.Date;

/**
 * 排行榜类型表
 */
public class RankingType {
    /**
    * 资产ID，自增主键
    */
    private Long id;

    /**
    * 排行类型唯一识别ID，示例：high_dividend，stable_dividend，upcoming_dividend
    */
    private String typeId;

    /**
    * 显示名称
    */
    private String name;

    /**
    * 标题
    */
    private String title;

    /**
    * 描述
    */
    private String description;

    /**
    * 图标
    */
    private String icon;

    /**
    * 排序顺序
    */
    private Integer sortOrder;

    /**
    * 是否启用，1:启用，-1:禁用
    */
    private Integer enabled;

    /**
    * 最大显示数量
    */
    private Integer maxItems;

    /**
    * 指标配置
    */
    private String metricsConfig;

    /**
    * 
    */
    private Date createdAt;

    /**
    * 
    */
    private Date updatedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }

    public Integer getMaxItems() {
        return maxItems;
    }

    public void setMaxItems(Integer maxItems) {
        this.maxItems = maxItems;
    }

    public String getMetricsConfig() {
        return metricsConfig;
    }

    public void setMetricsConfig(String metricsConfig) {
        this.metricsConfig = metricsConfig;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}